<?php
/**
 * @author: xuzhengyang
 * @Time: 2023/2/17   15:27
 */


namespace app\myuser\request;

class IndexRequest extends BaseRequest
{

    protected array $msgs = [
        'type' => '角色类型必传',
    ];

    protected function getRule()
    {
        return [
           'roles' => [
               'type' => 'require'
           ]
        ];
    }

}